import URL_API from '@/const/url-api';
import axios from '@/common/axios-setting';

/**
 * 获取城市列表
 */
export async function getCityListService(payload = {}) {
    return axios.get(URL_API.GET_CITY_LIST, {
       params: payload,
    });
}


/**
 * 获取招聘职位列表信息
 */
export async function getJobListInfoService(payload = {}) {
    return axios.post(URL_API.GET_JOB_LIST_INFO, {
        ...payload,
    });
}

/**
 * 获取区县列表
 */
export async function getDistrictListService(payload = {}) {
    return axios.get(URL_API.GET_DISTRICT_LIST, {
        params: payload,
    });
}

/**
 * 获取结算方式
 */
export async function getSettlementListService(payload = {}) {
    return axios.get(URL_API.GET_SETTLEMENT_LIST, {
        params: payload,
    });
}
